package com.gzh.teaching.model.vo;

import com.gzh.teaching.service.dto.CourseQueryIn;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Getter
@Setter
@ToString
public class CourseQueryParam {

  private String key;

  public CourseQueryIn paramToIn(Integer userId) {
    CourseQueryIn in = new CourseQueryIn();
    in.setKey(this.key);
    in.setUserId(userId);
    return in;
  }
}
